/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-10-22 11:32:42
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// import regex from '../../../../utils/regex.js' // 正则表达式
// import {
//     statusType
// } from '@/utils/config'; //配置项

export default {
    searchObj: [{
            xms: true, //是input
            label: "项目名称：", //字段
            prop: "fprojectid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
        },
        {
            bd: true, //是input
            label: "标段名称：", //字段
            prop: "fCompanyid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用

        }, 
        {
            input: true, //是input
            label: "工程名称", //字段
            prop: "keyWord", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "工程名称/部位/构件编码",

        },{
            select: true, //是input
            label: "构件类型", //字段
            prop: "name", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "构件类型",
            options: [
                {
                    label:"桩基（钻孔灌注桩）",
                    value:"桩基（钻孔灌注桩）"
                },
                {
                    label:"承台、大体积混凝土",
                    value:"承台、大体积混凝土"
                },
                {
                    label:"墩柱、桥台",
                    value:"墩柱、桥台"
                },
                {
                    label:"盖梁、台帽",
                    value:"盖梁、台帽"
                },{
                    label:"箱梁预制、T梁预制",
                    value:"箱梁预制、T梁预制"
                },{
                    label:"现浇梁",
                    value:"现浇梁"
                },{
                    label:"悬浇梁",
                    value:"悬浇梁"
                },{
                    label:"支座垫石",
                    value:"支座垫石"
                },{
                    label:"涵洞总体",
                    value:"涵洞总体"
                },{
                    label:"涵洞节段",
                    value:"涵洞节段"
                },{
                    label:"衬砌（明洞）",
                    value:"衬砌（明洞）"
                },{
                    label:"衬砌",
                    value:"衬砌"
                },
            ]

        },
     
        {
            btn: true, //是input
            width: 24, //参考el-col

        },
    ],
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        isOperation: true,
        thead: [
            {
                label: "项目简称",
                prop: "projectName",
                minWidth: "180px",
                align: "left",
            },
            {
                label: "标段",
                prop: "companyName",
                minWidth: "60px",
                align: "left",

            },
            
            {
                label: "结构物名称",
                prop: "structureName",
                minWidth: "80px",
                align: "left",
            },
            {
                label: "部位",
                prop: "part",
                minWidth: "200px",
                align: "center",
            },
            {
                label: "构件",
                prop: "component",
                minWidth: "150px",
                align: "left",
            },
            // {
            //     label: "检测编号",
            //     prop: "fBatchnumber",
            //     minWidth: "120px",
            //     align: "center",
            // }, 
            // {
            //     label: "检测项目",
            //     prop: "fBatchnumber",
            //     minWidth: "120px",
            //     align: "center",
            // },
             {
                label: "填报日期",
                prop: "createDates",
                minWidth: "80px",
                align: "center",
            }, {
                label: "检测说明",
                prop: "note",
                minWidth: "50px",
                align: "center",
            }
        ],

        isCheckBox: false,
        isIndex: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: [],
        },
    },

    btnObj: [{
            fEncode: "yj_view",
            fFullname: "查看",
            fOrder: 7
        },
        
        {
            fEncode: "yj_add",
            fFullname: "新增",
            fOrder: 1
        }, {
            fEncode: "yj_edit",
            fFullname: "编辑",
            fOrder: 2
        },
        //  {
        //     fEncode: "yj_export",
        //     fFullname: "导出",
        //     fOrder: 3
        // },
        // {
        //     fEncode: "yj_import",
        //     fFullname: "导入",
        //     fOrder: 4
        // },
        // // {
        //     fEncode: "yj_delete",
        //     fFullname: "删除",
        //     fOrder: 3
        // },
        // {
        //     fEncode: "yj_delete",
        //     fFullname: "提交",
        //     fOrder: 4
        // },
        // {
        //     fEncode: "yj_revoke",
        //     fFullname: "撤销",
        //     fOrder: 5
        // },
    ]
}